package reflect.ioc;

public class Main {


    public static void main(String[] args) {

        IOC ioc = new IOC();
        User user = (User) ioc.getBean("reflect.ioc.User");
        System.out.println("IOC创建对象如下");
        System.out.println(user.toString());
    }
}
